// 容器组件一定要导入react
// import React from 'react';
// 导入connect高阶组件
import { connect } from 'react-redux';
// 导入actions
import {addComment,delComment,getCmtListAsync} from '../redux/actions';

// 导入评论组件
import CmtList from '../components/CmtList';

export default connect(
    (state)=>({commentList:state.commentList}),
    {addComment,delComment,getCmtListAsync}
)(CmtList)